<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<div class="t_bar">${param.title }${param.unit }</div>
<table id="fundInfo" class="table01 t_css" width="100%" border="0" cellpadding="0" cellspacing="1">
	<col style="width:5%"/>
	<col style="width:35%"/>
	<col style="width:20%"/>
	<col style="width:20%"/>
	<col style="width:20%"/>
<tr   class="t_tr">
	<td colspan="2"  align="left">1.项目研发总费用</td>
			<td  align="center"><x:out select="$xmlData/data/budget/total_invest_1_1" /></td>
			<td colspan="2"></td>
	</tr>


	
	<tr>
		<td  align="center" rowspan="3" >其中</td>
		<td   colspan="1"  >企业自有资金</td>
		<td  align="center" ><x:out select="$xmlData/data/budget/total_invest_2_1" /></td>
		<td colspan="2"></td>
	</tr>
	<tr>
		<td   colspan="1" >银行贷款</td>
		<td  align="center" ><x:out select="$xmlData/data/budget/total_invest_3_1" /></td>
		<td colspan="2"></td>
	</tr>
	<tr>
		<td  colspan="1"  >其他资金</td>
		<td  align="center"><x:out select="$xmlData/data/budget/total_invest_4_1" /></td>
		<td colspan="2"></td>
	</tr>
	
	
	
	
	<tr  class="t_tr"><td colspan="2"  align="left">2.研发费用构成</td><td  align="center">金额</td><td colspan="2"  align="center">说明</td></tr>

	<tr class="t_tr">
	    
	    <td  align="center" colspan="2">经费总额</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest0/total" /></td>
	    <td colspan="3" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest0/total_detail" /></td>
	</tr>
	<tr>
	<td rowspan="17" align="center">其中</td>
	    <td ><strong>研究经费</strong></td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest1/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest1/total_detail" /></td>
	</tr>
	<tr>
	    <td >（一）直接费用</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest2/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest2/total_detail" /></td>
	</tr>
	<tr>
	    <td ><span style="margin-left:25px;"></span>1．设备费</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest3/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest3/total_detail" /></td>
	</tr>
	<tr>
	    <td ><span style="margin-left:25px;"></span>2．材料费</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest4/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest4/total_detail" /></td>
	</tr>
	<tr>
	    <td ><span style="margin-left:25px;"></span>3．测试化验加工费</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest5/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest5/total_detail" /></td>
	</tr>
	<tr>
	    <td ><span style="margin-left:25px;"></span>4．燃料动力费</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest6/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest6/total_detail" /></td>
	</tr>
	<tr>
	    <td ><span style="margin-left:25px;"></span>5．差旅费</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest7/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest7/total_detail" /></td>
	</tr>
	<tr>
	    <td ><span style="margin-left:25px;"></span>6．会议费</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest8/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest8/total_detail" /></td>
	</tr>
	<tr>
	    <td ><span style="margin-left:25px;"></span>7．国际合作与交流费</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest9/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest9/total_detail" /></td>
	</tr>
	<tr>
	    <td ><span style="margin-left:25px;"></span>8．出版/文献/信息传播/知识产权事务费</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest10/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest10/total_detail" /></td>
	</tr>
	<tr>
	    <td ><span style="margin-left:25px;"></span>9．劳务费</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest11/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest11/total_detail" /></td>
	</tr>
	<tr>
	    <td ><span style="margin-left:25px;"></span>10．专家咨询费</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest24/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest24/total_detail" /></td>
	</tr>
<%-- 	<tr>
	    <td ><span style="margin-left:25px;"></span>11．基本建设费</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest12/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest12/total_detail" /></td>
	</tr>
	<tr>
	    <td ><span style="margin-left:40px;"></span>（1）房屋建筑物购建</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest13/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest13/total_detail" /></td>
	</tr>
	<tr>
	    <td ><span style="margin-left:40px;"></span>（2）专用设备购置</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest14/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest14/total_detail" /></td>
	</tr>
	<tr>
	    <td ><span style="margin-left:40px;"></span>（3）基础设施建设</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest15/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest15/total_detail" /></td>
	</tr>
	<tr>
	    <td ><span style="margin-left:40px;"></span>（4）大型修缮</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest16/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest16/total_detail" /></td>
	</tr>
	<tr>
	    <td ><span style="margin-left:40px;"></span>（5）信息网络建设</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest17/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest17/total_detail" /></td>
	</tr>
	<tr>
	    <td ><span style="margin-left:40px;"></span>（6）其他基本建设支出</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest18/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest18/total_detail" /></td>
	</tr> --%>
	<tr>
	    <td ><span style="margin-left:25px;"></span>11．其他</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest19/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest19/total_detail" /></td>
	</tr>
	<tr>
	    <td >（二）间接费用</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest20/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest20/total_detail" /></td>
	</tr>
	
	
	
		<tr>
	    <td ><span style="margin-left:25px;"></span>1．管理费</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest30/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest30/total_detail" /></td>
	</tr>
	<tr>
	    <td ><span style="margin-left:25px;"></span>2．绩效支出</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest31/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest31/total_detail" /></td>
	</tr>
	
	
	
	
	
	
	
	
	<tr>
	    <td >（三）不可预见费</td>
	    <td  align="center"><x:out select="$xmlData/data/budget/invest_detail/invest21/total" /></td>
	    <td colspan="4" align="left"><x:out select="$xmlData/data/budget/invest_detail/invest21/total_detail" /></td>
	</tr>
	
	
	
	<tr   class="t_tr">
	<td colspan="2"  align="left">3.申请资助额度（万元）</td>
			<td  align="center"><x:out select="$xmlData/data/proposal/request_amt" /></td>
			<td colspan="2"></td>
	</tr>
</table>
<br/>
<script type="text/javascript">
function countFund(idStart, countStr, totalStr) {

	var indexs = countStr.split(",");
	var count = 0;
	for ( var i = 0; i < indexs.length; i++) {
		var fund = $("#" + idStart + indexs[i]).val();
		if (!$.isNumeric(fund))
			fund = "0";
		count = ((parseFloat(count)*10000 + parseFloat(fund)*10000)/10000).toFixed(4);
	}
	count = formatNumber(count.toString(), 9, 4, 2);// 格式化金额
	$("#" + idStart + totalStr).val(count);
}
$(document).ready(function(){
  	$("#fundInfo").each(function(){
  		$(this).find("tr:even").addClass("li_1");
  		$(this).find("tr:odd").addClass("li_2");
  	});
  });
</script>